package a.f.j;

import a.c.bb;
import a.c.e;
import a.c.q;
import a.c.v;
import a.d.a.b;
import a.d.b.a;
import a.d.b.j;
import a.f.wc;
import a.i.db;

import java.util.*;

public class h
  implements m
{
  private static final ArrayList a = new ArrayList();
  private cb b;
  private boolean c = false;
  private a.c.n d;
  private a.c.x e;
  public static boolean f;
  
  public void a(cb paramcb)
  {
    this.b = paramcb;
  }
  
  public void a(a.c.n paramn)
  {
    this.d = paramn;
  }
  
  public void a(a.c.x paramx)
  {
    this.e = paramx;
  }
  
  public void a(boolean paramBoolean)
  {
    this.c = paramBoolean;
  }
  
  public boolean c()
  {
    return this.c;
  }
  
  public void a()
  {
    boolean bool = ab.g;
    int i1 = ab.f;
    if (!bool) {
      if (this.b == null) {
        return;
      }
    }
    a.f.o localo = (a.f.o)this.b.a();
    bb localbb = new bb();
    a.c.x localx = db.a();
    Object localObject3;
    Object localObject4;
    label181:
    label214:
    label224:
    Object localObject5;
    Object localObject6;
    if (this.e != null)
    {
      localObject1 = new a.i.a.d(localo);
      int i = localo.m();
      localObject3 = localo.v();
      do
      {
        if (!((a.c.w)localObject3).e()) {
          break;
        }
        localObject4 = ((a.c.w)localObject3).d();
        if (i1 != 0) {
          break label224;
        }
        if (this.e.getBool(localObject4))
        {
          int j = 0;
          a.c.m localm = ((e)localObject4).l();
          do
          {
            if (!localm.e()) {
              break label181;
            }
            e locale = localm.a().a((e)localObject4);
            if (i1 != 0) {
              break;
            }
            if (!this.e.getBool(locale)) {
              j++;
            }
            localm.f();
          } while (i1 == 0);
          if (bool) {
            break label214;
          }
          ((a.i.a.m)localObject1).a((e)localObject4, i - j);
        }
        ((a.c.w)localObject3).f();
      } while (i1 == 0);
      do
      {
        do
        {
          if ((!bool) && (((a.i.a.m)localObject1).a())) {
            break;
          }
          localObject3 = ((a.i.a.m)localObject1).c();
          do
          {
            localbb.add(localObject3);
            localObject4 = ((e)localObject3).l();
            if (!((a.c.m)localObject4).e()) {
              break;
            }
            localObject5 = ((a.c.m)localObject4).a().a((e)localObject3);
          } while (bool);
          if ((!bool) && (i1 != 0)) {
            break label488;
          }
        } while (i1 != 0);
        if (((a.i.a.m)localObject1).a((e)localObject5))
        {
          int k = ((a.i.a.m)localObject1).b((e)localObject5);
          ((a.i.a.m)localObject1).b((e)localObject5, k - 1);
        }
        ((a.c.m)localObject4).f();
      } while (i1 == 0);
      if (!bool)
      {
        localObject3 = localbb.g();
        do
        {
          if (localObject3 == null) {
            break;
          }
          localObject4 = (e)((v)localObject3).c();
          localx.a(localObject4, new a.c.ab(((e)localObject4).l()));
          localObject5 = ((e)localObject4).l();
          do
          {
            do
            {
              if (!((a.c.m)localObject5).e()) {
                break;
              }
              localObject6 = ((a.c.m)localObject5).a();
            } while (i1 != 0);
            if (localo.j((a.c.d)localObject6))
            {
              localo.f((a.c.d)localObject6);
              if (bool) {
                continue;
              }
              if (this.d != null) {
                this.d.a(localObject6, true);
              }
            }
            ((a.c.m)localObject5).f();
          } while (i1 == 0);
          localo.d((e)localObject4);
          localObject3 = ((v)localObject3).b();
        } while (i1 == 0);
      }
    }
    label488:
    Object localObject1 = new a.c.ab();
    if (this.d != null)
    {
      localObject2 = localo.w();
      do
      {
        if (!((a.c.m)localObject2).e()) {
          break;
        }
        localObject3 = ((a.c.m)localObject2).a();
        if (i1 != 0) {
          break label597;
        }
        if (this.d.getBool(localObject3))
        {
          if (bool) {
            continue;
          }
          if (localo.j((a.c.d)localObject3))
          {
            localo.f((a.c.d)localObject3);
            ((a.c.ab)localObject1).add(localObject3);
          }
        }
        ((a.c.m)localObject2).f();
      } while (i1 == 0);
    }
    if (!bool) {
      if (localo.m() > 0) {
        label597:
        a(localo, (a.c.ab)localObject1);
      }
    }
    label727:
    a.c.d locald1;
    if (localo.m() > 0)
    {
      a.i.n.a(this, "==================== Route ====================");
      localObject2 = new l(this.b);
      localObject3 = localbb.l();
      label818:
      label973:
      do
      {
        do
        {
          if (!((a.c.w)localObject3).e()) {
            break;
          }
          localObject4 = ((a.c.w)localObject3).d();
          localo.e((e)localObject4);
          localObject5 = (a.c.ab)localx.get(localObject4);
          if (i1 != 0) {
            break label1301;
          }
          if (!((a.c.ab)localObject5).isEmpty())
          {
            localObject6 = null;
            int m = 2147483647;
            a.c.z localz = new a.c.z(this.b.b());
            Object localObject7 = localz.h();
            do
            {
              if (!((a.c.y)localObject7).e()) {
                break label973;
              }
              n localn = (n)((a.c.y)localObject7).j();
              Object localObject8 = null;
              if (i1 != 0) {
                break label1379;
              }
              Object localObject9 = localn.a();
              for (;;)
              {
                if (!((a.c.m)localObject9).e()) {
                  break label818;
                }
                a.c.d locald2 = ((a.c.m)localObject9).a();
                if (bool) {
                  break;
                }
                if (i1 != 0) {
                  break label727;
                }
                if (this.b.f(locald2.f()))
                {
                  localObject8 = locald2;
                  break label818;
                }
                ((a.c.m)localObject9).f();
              }
              if ((bool) || (localObject8 != null))
              {
                localObject9 = localo.a(localObject8.f(), (e)localObject4);
                this.b.a((a.c.d)localObject9, localObject8, null);
                int n = ((l)localObject2).b((a.c.ab)localObject5);
                if (!bool) {
                  if (n >= m)
                  {
                    if (n != m) {
                      break label914;
                    }
                    if (bool) {
                      break label920;
                    }
                    if (this.b.c((a.c.d)localObject9) != this.b.c()) {
                      break label914;
                    }
                  }
                }
                m = n;
                localObject6 = localObject8;
                this.b.k((a.c.d)localObject9);
                localo.g((a.c.d)localObject9);
                localo.a((a.c.d)localObject9);
                localo.g(this.b.b((a.c.d)localObject9));
                localo.a(this.b.b((a.c.d)localObject9));
              }
              ((a.c.y)localObject7).f();
            } while (i1 == 0);
            localObject7 = localo.a(((a.c.d)localObject6).f(), (e)localObject4);
            this.b.a((a.c.d)localObject7, (a.c.d)localObject6, null);
            ((l)localObject2).a((a.c.ab)localObject5);
            this.b.k((a.c.d)localObject7);
            localo.g((a.c.d)localObject7);
            localo.a((a.c.d)localObject7);
            localo.g(this.b.b((a.c.d)localObject7));
            if (bool) {
              break label1500;
            }
            localo.a(this.b.b((a.c.d)localObject7));
          }
          ((a.c.w)localObject3).f();
        } while (i1 == 0);
        ((l)localObject2).a((a.c.ab)localObject1);
      } while (bool);
      label914:
      label920:
      if (i1 == 0) {}
    }
    else
    {
      localObject2 = new f();
      localObject3 = ((a.c.ab)localObject1).l();
      do
      {
        if (!((a.c.m)localObject3).e()) {
          break;
        }
        localo.g(((a.c.m)localObject3).a());
        ((a.c.m)localObject3).f();
        if ((!bool) && (i1 != 0)) {
          break label1500;
        }
      } while (i1 == 0);
      if (bool) {
        break label1504;
      }
      localObject3 = localbb.l();
      label1258:
      do
      {
        if (!((a.c.w)localObject3).e()) {
          break;
        }
        localObject4 = ((a.c.w)localObject3).d();
        localo.e((e)localObject4);
        localObject5 = (a.c.ab)localx.get(localObject4);
        if (i1 != 0) {
          break label1379;
        }
        localObject6 = ((a.c.ab)localObject5).l();
        do
        {
          do
          {
            if (!((a.c.m)localObject6).e()) {
              break label1258;
            }
            locald1 = ((a.c.m)localObject6).a();
            if (i1 != 0) {
              break;
            }
            if (!localo.j(locald1)) {
              localo.g(locald1);
            }
            ((a.c.m)localObject6).f();
          } while (i1 == 0);
          ((a.c.w)localObject3).f();
        } while (bool);
      } while (i1 == 0);
      ((f)localObject2).a(this.b);
      if (bool) {
        break label1500;
      }
      ((f)localObject2).a();
    }
    if (!this.b.j())
    {
      label1301:
      a.i.n.a("Outer face");
      this.b.a(this.b.c(localo.w().a()));
      a.i.n.a("New Outer face: " + this.b.c());
    }
    this.b.e();
    if (this.d != null)
    {
      label1379:
      localObject2 = ((a.c.ab)localObject1).l();
      label1495:
      label1497:
      do
      {
        if (!((a.c.m)localObject2).e()) {
          break;
        }
        localObject3 = ((a.c.m)localObject2).a();
        localObject4 = this.b.m((a.c.d)localObject3);
        do
        {
          do
          {
            if (!((a.c.m)localObject4).e()) {
              break;
            }
            localObject5 = ((a.c.m)localObject4).a();
            this.d.a(localObject5, true);
            this.d.a(this.b.b((a.c.d)localObject5), true);
            ((a.c.m)localObject4).f();
            if (bool) {
              break label1497;
            }
            if (i1 != 0) {
              break label1495;
            }
          } while (i1 == 0);
        } while (bool);
        ((a.c.m)localObject2).f();
      } while (i1 == 0);
    }
    label1500:
    label1504:
    Object localObject2 = localbb.l();
    label1660:
    label1662:
    do
    {
      if (!((a.c.w)localObject2).e()) {
        break;
      }
      localObject3 = ((a.c.w)localObject2).d();
      localObject4 = (a.c.ab)localx.get(localObject3);
      do
      {
        localObject5 = ((a.c.ab)localObject4).l();
        do
        {
          do
          {
            if (!((a.c.m)localObject5).e()) {
              break;
            }
          } while (i1 != 0);
          localObject6 = this.b.m(((a.c.m)localObject5).a());
          do
          {
            do
            {
              if (!((a.c.m)localObject6).e()) {
                break;
              }
              locald1 = ((a.c.m)localObject6).a();
              this.d.a(locald1, true);
              this.d.a(this.b.b(locald1), true);
              ((a.c.m)localObject6).f();
              if (bool) {
                break label1662;
              }
              if (i1 != 0) {
                break label1660;
              }
            } while (i1 == 0);
          } while (bool);
          ((a.c.m)localObject5).f();
        } while (i1 == 0);
        ((a.c.w)localObject2).f();
      } while (bool);
    } while (i1 == 0);
  }
  
  private void a(a.f.o paramo, a.c.ab paramab)
  {
    boolean bool = ab.g;
    int i8 = ab.f;
    wc.d(paramo);
    j localj = j.g();
    a.i.n.a(this, "==================== Planarize ====================");
    a.c.x localx1 = paramo.B();
    a.c.x localx2 = paramo.B();
    a.c.n localn = paramo.C();
    Object localObject1 = new HashMap();
    a.c.w localw = paramo.v();
    double d3;
    do
    {
      if (!localw.e()) {
        break;
      }
      e locale1 = localw.d();
      double d2 = paramo.m(locale1);
      d3 = paramo.n(locale1);
      if (i8 != 0) {
        break label180;
      }
      Object localObject6 = a(d2, d3, localj);
      localx2.a(locale1, localObject6);
      ArrayList localArrayList = (ArrayList)((HashMap)localObject1).get(localObject6);
      if (!bool) {
        if (localArrayList == null)
        {
          localArrayList = new ArrayList();
          ((HashMap)localObject1).put(localObject6, localArrayList);
        }
      }
      localArrayList.add(locale1);
      localw.f();
    } while (i8 == 0);
    label180:
    double d1 = 1.0D;
    Object localObject2 = paramo.v();
    label411:
    do
    {
      do
      {
        if (!((a.c.w)localObject2).e()) {
          break;
        }
        localObject3 = ((a.c.w)localObject2).d();
        d3 = Math.floor(paramo.p((e)localObject3));
        double d4 = Math.floor(paramo.q((e)localObject3));
        double d5 = Math.floor(paramo.s((e)localObject3));
        if (i8 != 0) {
          break label448;
        }
        double d6 = Math.floor(paramo.t((e)localObject3));
        localObject13 = new a.d.b.d[4];
        localObject13[0] = ((a.d.b.d)localj.a(d3 - d1, d4 - d1));
        localObject13[1] = ((a.d.b.d)localj.a(d3 + d5 + 2.0D * d1, d4 - d1));
        localObject13[2] = ((a.d.b.d)localj.a(d3 + d5 + 2.0D * d1, d4 + d6 + 2.0D * d1));
        localObject13[3] = ((a.d.b.d)localj.a(d3 - d1, d4 + d6 + 2.0D * d1));
        int j = 0;
        do
        {
          if (j >= localObject13.length) {
            break label411;
          }
          localObject13[j].j();
          j++;
          if ((!bool) && (i8 != 0)) {
            break;
          }
        } while (i8 == 0);
        localObject14 = localj.a((Object[])localObject13);
        localx1.a(localObject3, localObject14);
        ((a.c.w)localObject2).f();
      } while (bool);
    } while (i8 == 0);
    label448:
    localObject2 = paramo.B();
    Object localObject3 = new HashMap(((HashMap)localObject1).size());
    Object localObject4 = ((HashMap)localObject1).keySet().iterator();
    if (((Iterator)localObject4).hasNext()) {}
    label592:
    label594:
    while (bool)
    {
      localObject5 = ((Iterator)localObject4).next();
      localObject7 = (ArrayList)((HashMap)localObject1).get(localObject5);
      if ((!bool) && (i8 != 0)) {
        break label606;
      }
      int i = 1;
      if (i < ((ArrayList)localObject7).size()) {}
      while (bool)
      {
        localObject9 = (e)((ArrayList)localObject7).get(i);
        ((a.c.x)localObject2).a(localObject9, true);
        i++;
        if (bool) {
          break label594;
        }
        if (i8 != 0) {
          break label592;
        }
        if (i8 == 0) {
          break;
        }
      }
      ((HashMap)localObject3).put(localObject5, ((ArrayList)localObject7).get(0));
      if (i8 == 0) {
        break;
      }
    }
    localObject1 = localObject3;
    label606:
    localObject4 = paramo.w();
    label684:
    do
    {
      if (!((a.c.m)localObject4).e()) {
        break;
      }
      localObject5 = ((a.c.m)localObject4).a();
      if (!bool) {
        if (!((a.c.x)localObject2).getBool(((a.c.d)localObject5).e()))
        {
          if (bool) {
            continue;
          }
          if (!((a.c.x)localObject2).getBool(((a.c.d)localObject5).f())) {
            break label684;
          }
        }
      }
      paramab.add(localObject5);
      paramo.f((a.c.d)localObject5);
      ((a.c.m)localObject4).f();
    } while (i8 == 0);
    localObject4 = new bb();
    Object localObject5 = paramo.v();
    do
    {
      if (!((a.c.w)localObject5).e()) {
        break;
      }
      localObject7 = ((a.c.w)localObject5).d();
      if ((!bool) && (i8 != 0)) {
        break label798;
      }
      if (!bool)
      {
        if (((a.c.x)localObject2).getBool(localObject7))
        {
          ((bb)localObject4).add(localObject7);
          paramo.d((e)localObject7);
        }
        ((a.c.w)localObject5).f();
      }
    } while (i8 == 0);
    paramo.a((a.c.x)localObject2);
    if (!bool) {
      a(paramo);
    }
    label798:
    localObject5 = new a.c.z();
    Object localObject7 = new HashMap();
    Object localObject8 = paramo.w();
    Object localObject20;
    label1000:
    label1134:
    label1136:
    do
    {
      if (!((a.c.m)localObject8).e()) {
        break;
      }
      localObject9 = ((a.c.m)localObject8).a();
      localObject10 = new ArrayList();
      localObject11 = localx2.get(((a.c.d)localObject9).e());
      localObject12 = localx2.get(((a.c.d)localObject9).f());
      ((ArrayList)localObject10).add(localObject11);
      do
      {
        localObject13 = localObject11;
        if (i8 != 0) {
          break label1146;
        }
        localObject14 = paramo.n((a.c.d)localObject9).b();
        do
        {
          if (!((a.d.x)localObject14).e()) {
            break;
          }
          a.d.w localw1 = ((a.d.x)localObject14).a();
          double d7 = localw1.a();
          double d8 = localw1.b();
          localObject20 = a(d7, d8, localj);
          if (i8 != 0) {
            break label1000;
          }
          if (!localObject20.equals(localObject13)) {
            ((ArrayList)localObject10).add(localObject20);
          }
          localObject13 = localObject20;
          ((a.d.x)localObject14).f();
        } while (i8 == 0);
      } while (bool);
      if (!localObject12.equals(localObject13)) {
        ((ArrayList)localObject10).add(localObject12);
      }
      localObject14 = new ArrayList(((ArrayList)localObject10).size() - 1);
      int k = 1;
      if (k < ((ArrayList)localObject10).size()) {}
      do
      {
        localObject16 = localj.e(((ArrayList)localObject10).get(k - 1), ((ArrayList)localObject10).get(k));
        ((a.c.z)localObject5).add(localObject16);
        ((ArrayList)localObject14).add(localObject16);
        ((Map)localObject7).put(b_.a(localObject16), localObject9);
        k++;
        if (bool) {
          break label1136;
        }
        if (i8 != 0) {
          break label1134;
        }
        if (i8 == 0) {
          break;
        }
        localn.a(localObject9, localObject14);
      } while (bool);
      ((a.c.m)localObject8).f();
    } while (i8 == 0);
    label1146:
    localObject8 = new q();
    Object localObject9 = new ab((q)localObject8);
    Object localObject10 = ((q)localObject8).B();
    Object localObject11 = ((q)localObject8).C();
    Object localObject12 = new b(localj);
    ((b)localObject12).a((Collection)localObject5, (ab)localObject9, (a.c.x)localObject10, (a.c.n)localObject11);
    Object localObject13 = ((q)localObject8).C();
    Object localObject14 = ((q)localObject8).B();
    Object localObject15 = ((q)localObject8).w();
    do
    {
      if (!((a.c.m)localObject15).e()) {
        break;
      }
      localObject16 = ((a.c.m)localObject15).a();
      localObject17 = ((a.c.n)localObject11).get(localObject16);
      localObject18 = (a.c.d)((Map)localObject7).get(b_.a(localObject17));
      ((a.c.n)localObject13).a(localObject16, localObject18);
      if (!bool)
      {
        if (i8 != 0) {
          break label1317;
        }
        ((a.c.n)localObject13).a(((ab)localObject9).b((a.c.d)localObject16), localObject18);
        ((a.c.m)localObject15).f();
      }
    } while (i8 == 0);
    label1317:
    localObject15 = paramo.C();
    Object localObject16 = ((q)localObject8).C();
    Object localObject17 = ((q)localObject8).v();
    label1365:
    Object localObject26;
    label1434:
    label1441:
    Object localObject29;
    label1699:
    label1709:
    label1710:
    label1840:
    Object localObject30;
    label1906:
    label1913:
    Object localObject27;
    Object localObject28;
    label2192:
    label2204:
    label2206:
    do
    {
      if (!((a.c.w)localObject17).e()) {
        break;
      }
      localObject18 = ((a.c.w)localObject17).d();
      if (i8 != 0) {
        break label2210;
      }
      int n = 0;
      localObject20 = ((e)localObject18).n();
      do
      {
        if (!((a.c.m)localObject20).e()) {
          break;
        }
        ((a.c.n)localObject16).a(((a.c.m)localObject20).a(), n++);
        if (bool) {
          break label1441;
        }
        ((a.c.m)localObject20).f();
        if (i8 != 0) {
          break label1434;
        }
      } while (i8 == 0);
      if (!bool) {
        localObject20 = ((a.c.x)localObject10).get(localObject18);
      }
      do
      {
        localObject22 = (e)((HashMap)localObject1).get(localObject20);
        Object localObject24;
        if (!bool) {
          if (localObject22 == null)
          {
            int i2 = 1;
            localObject24 = new a.c.d[((e)localObject18).e()];
            localObject26 = new a.c.d[((e)localObject18).d()];
            int i4 = 0;
            a.c.m localm = ((e)localObject18).n();
            do
            {
              if (!localm.e()) {
                break;
              }
              localObject24[(i4++)] = localm.a();
              localm.f();
              if (bool) {
                break label2206;
              }
              if (i8 != 0) {
                break label2204;
              }
            } while (i8 == 0);
            int i5 = 0;
            if (bool) {
              break label1365;
            }
            localObject29 = ((e)localObject18).m();
            do
            {
              if (!((a.c.m)localObject29).e()) {
                break;
              }
              localObject26[(i5++)] = ((a.c.m)localObject29).a();
              ((a.c.m)localObject29).f();
              if (bool) {
                break label1709;
              }
              if (i8 != 0) {
                break label1699;
              }
            } while (i8 == 0);
            if ((!bool) && (!bool))
            {
              if (((e)localObject18).e() == 2)
              {
                if (bool) {
                  break label1710;
                }
                if (((e)localObject18).d() == 2)
                {
                  if ((!bool) && ((((a.c.n)localObject13).get(localObject24[0]) == ((a.c.n)localObject13).get(localObject24[1])) && (((a.c.n)localObject13).get(localObject26[0]) == ((a.c.n)localObject13).get(localObject26[1])))) {
                    break label1906;
                  }
                  i2 = 0;
                  if (bool) {
                    break label1913;
                  }
                  if (i8 == 0) {
                    break label1906;
                  }
                }
              }
              if (bool) {
                break label1840;
              }
            }
            if (((e)localObject18).e() == 4)
            {
              if (bool) {
                break label1840;
              }
              if (((e)localObject18).d() == 4)
              {
                if (((bool) || (((a.c.n)localObject13).get(localObject24[0]) == ((a.c.n)localObject13).get(localObject24[2]))) && ((bool) || ((((a.c.n)localObject13).get(localObject24[1]) == ((a.c.n)localObject13).get(localObject24[3])) && (((a.c.n)localObject13).get(localObject24[0]) != ((a.c.n)localObject13).get(localObject24[1])))))
                {
                  i2 = 1;
                  if (bool) {
                    break label1913;
                  }
                  if (i8 == 0) {
                    break label1906;
                  }
                }
                i2 = 0;
                if (bool) {
                  break label1913;
                }
                if (i8 == 0) {
                  break label1906;
                }
              }
            }
            localObject29 = ((e)localObject18).n();
            while (bool) {
              do
              {
                if (!((a.c.m)localObject29).e()) {
                  break;
                }
                localObject30 = (a.c.d)((a.c.n)localObject13).get(((a.c.m)localObject29).a());
                ((a.c.n)localObject15).a(localObject30, true);
                ((a.c.m)localObject29).f();
                if (bool) {
                  break label2206;
                }
                if (i8 != 0) {
                  break label2204;
                }
              } while (i8 == 0);
            }
            if (i2 != 0) {
              continue;
            }
            localObject29 = ((e)localObject18).n();
            do
            {
              if (!((a.c.m)localObject29).e()) {
                break;
              }
              localObject30 = (a.c.d)((a.c.n)localObject13).get(((a.c.m)localObject29).a());
              ((a.c.n)localObject15).a(localObject30, true);
              ((a.c.m)localObject29).f();
              if (bool) {
                break label2206;
              }
              if (i8 != 0) {
                break label2204;
              }
            } while (i8 == 0);
          }
        }
        if (bool) {
          break label1365;
        }
        localObject23 = ((e)localObject18).n();
        do
        {
          if (!((a.c.m)localObject23).e()) {
            break label2192;
          }
          ((a.c.x)localObject14).a(localObject18, localObject22);
          localObject24 = ((a.c.m)localObject23).a();
          localObject26 = ((a.c.n)localObject11).get(localObject24);
          localObject27 = (a.c.d)((a.c.n)localObject13).get(localObject24);
          localObject28 = (ArrayList)localn.get(localObject27);
          localObject29 = ((ArrayList)localObject28).get(0);
          localObject30 = ((ArrayList)localObject28).get(((ArrayList)localObject28).size() - 1);
          if (i8 != 0) {
            break;
          }
          int i6 = (bool) || ((((a.c.d)localObject27).e() == localObject22) && (localObject26 == localObject29)) ? 1 : 0;
          int i7 = (bool) || ((((a.c.d)localObject27).f() == localObject22) && (localObject26 == localObject30)) ? 1 : 0;
          if (!bool)
          {
            if (i6 == 0)
            {
              if (bool) {
                continue;
              }
              if (i7 == 0) {
                ((a.c.n)localObject15).a(localObject27, true);
              }
            }
            ((a.c.m)localObject23).f();
          }
        } while (i8 == 0);
      } while (bool);
      ((a.c.w)localObject17).f();
    } while (i8 == 0);
    label2210:
    int m = 1;
    break label2227;
    label2212:
    if (m != 0) {
      m = 0;
    }
    label2227:
    label2361:
    label2362:
    while (bool)
    {
      localObject18 = ((q)localObject8).v();
      if (!((a.c.w)localObject18).e()) {
        break label2212;
      }
      localObject19 = ((a.c.w)localObject18).d();
      if ((bool) || ((!bool) && ((i8 != 0) || (i8 != 0)))) {
        break label2595;
      }
      if (((a.c.x)localObject14).get(localObject19) == null)
      {
        int i1 = 0;
        localObject22 = ((e)localObject19).n();
        do
        {
          if (!((a.c.m)localObject22).e()) {
            break;
          }
          localObject23 = (a.c.d)((a.c.n)localObject13).get(((a.c.m)localObject22).a());
          if (bool) {
            break label2362;
          }
          if (i8 != 0) {
            break label2361;
          }
          if (!((a.c.n)localObject15).getBool(localObject23)) {
            i1++;
          }
          ((a.c.m)localObject22).f();
        } while (i8 == 0);
        if (bool) {
          break label2471;
        }
        if (!bool)
        {
          if (i1 != 4) {
            if (bool) {
              break label2473;
            }
          }
        }
        else if (i1 != 2)
        {
          localObject22 = ((e)localObject19).n();
          if (((a.c.m)localObject22).e()) {}
          while (bool)
          {
            localObject23 = (a.c.d)((a.c.n)localObject13).get(((a.c.m)localObject22).a());
            ((a.c.n)localObject15).a(localObject23, true);
            ((a.c.m)localObject22).f();
            if (bool) {
              break label2462;
            }
            if (i8 != 0) {
              break label2461;
            }
            if (i8 == 0) {
              break;
            }
          }
          ((q)localObject8).a((e)localObject19);
          m = 1;
        }
      }
      ((a.c.w)localObject18).f();
      if (i8 == 0) {
        break;
      }
    }
    label2461:
    label2462:
    label2471:
    label2473:
    Object localObject18 = ((q)localObject8).w();
    do
    {
      if (!((a.c.m)localObject18).e()) {
        break;
      }
      localObject19 = ((a.c.m)localObject18).a();
      if (i8 != 0) {
        break label2997;
      }
      if (((a.c.n)localObject15).getBool(((a.c.n)localObject13).get(localObject19))) {
        ((q)localObject8).a((a.c.d)localObject19);
      }
      ((a.c.m)localObject18).f();
    } while (i8 == 0);
    if (!bool)
    {
      localObject18 = ((q)localObject8).v();
      label2595:
      do
      {
        if (!((a.c.w)localObject18).e()) {
          break;
        }
        localObject19 = ((a.c.w)localObject18).d();
        if (i8 != 0) {
          break label2765;
        }
        if (((a.c.x)localObject14).get(localObject19) == null)
        {
          localObject21 = paramo.i();
          paramo.b((e)localObject21, 0.0D, 0.0D);
          localx2.a(localObject21, ((a.c.x)localObject10).get(localObject19));
          localObject22 = ((a.c.x)localObject10).get(localObject19);
          paramo.a((e)localObject21, new a.d.w(localj.a(localObject22).e(), localj.b(localObject22).e()));
          ((a.c.x)localObject14).a(localObject19, localObject21);
          if (!bool)
          {
            if (((e)localObject19).e() == 4)
            {
              this.b.c((e)localObject21);
              if (bool) {
                continue;
              }
              if (i8 == 0) {}
            }
            else
            {
              if (bool) {
                continue;
              }
            }
          }
          else if (((e)localObject19).e() == 2) {
            this.b.d((e)localObject21);
          }
        }
        ((a.c.w)localObject18).f();
      } while (i8 == 0);
      if (!bool) {
        ((ab)localObject9).f();
      }
      label2765:
      localObject18 = ((ab)localObject9).b();
      label2779:
      if (((o)localObject18).e()) {}
      label2867:
      label2940:
      do
      {
        localObject19 = ((o)localObject18).a();
        localObject21 = new a.c.z();
        if (i8 != 0) {
          break label2988;
        }
        localObject22 = ((n)localObject19).a();
        do
        {
          if (!((a.c.m)localObject22).e()) {
            break label2867;
          }
          ((a.c.z)localObject21).add(((a.c.x)localObject10).get(((a.c.m)localObject22).a().e()));
          ((a.c.m)localObject22).f();
          if ((!bool) && (i8 != 0)) {
            break;
          }
        } while (i8 == 0);
        localObject22 = ((a.c.z)localObject21).toArray();
        localObject23 = new a((Object[])localObject22, true, localj);
        int i3 = ((a)localObject23).a();
        if (bool) {
          break label2779;
        }
        if (!bool)
        {
          if (i3 == 0)
          {
            if (bool) {
              break label2940;
            }
            ((ab)localObject9).a((n)localObject19);
            if (i8 == 0) {}
          }
          else
          {
            ((o)localObject18).f();
          }
        }
        else {
          if (i8 == 0) {
            break;
          }
        }
        if (bool) {
          break label2958;
        }
      } while (bool);
      if (((ab)localObject9).c() == null) {
        label2958:
        if ((bool) || (((ab)localObject9).d() > 0)) {
          ((ab)localObject9).a(((ab)localObject9).b().a());
        }
      }
      label2988:
      localObject18 = paramo.w();
      label2997:
      do
      {
        if (!((a.c.m)localObject18).e()) {
          break;
        }
        localObject19 = ((a.c.m)localObject18).a();
        if (i8 != 0) {
          break label3066;
        }
        if (!bool)
        {
          if (((a.c.n)localObject15).getBool(localObject19))
          {
            paramab.add(localObject19);
            paramo.f((a.c.d)localObject19);
          }
          ((a.c.m)localObject18).f();
        }
      } while (i8 == 0);
      paramo.a((a.c.n)localObject15);
    }
    label3066:
    localObject18 = paramo.C();
    Object localObject19 = paramo.C();
    Object localObject21 = ((q)localObject8).C();
    Object localObject22 = ((q)localObject8).w();
    label3206:
    label3215:
    label3220:
    do
    {
      do
      {
        if (!((a.c.m)localObject22).e()) {
          break;
        }
        localObject23 = ((a.c.m)localObject22).a();
        localObject25 = (e)((a.c.x)localObject14).get(((a.c.d)localObject23).e());
        localObject26 = (e)((a.c.x)localObject14).get(((a.c.d)localObject23).f());
        localObject27 = null;
        if (i8 != 0) {
          break label3291;
        }
        if (!((ab)localObject9).h((a.c.d)localObject23))
        {
          if (!bool)
          {
            if (this.b.f((e)localObject25)) {
              if (bool) {
                break label3215;
              }
            }
          }
          else {
            if (this.b.f((e)localObject26)) {
              break label3206;
            }
          }
          localObject27 = paramo.a((e)localObject25, (e)localObject26);
          break label3220;
          localObject27 = (a.c.d)((a.c.n)localObject13).get(localObject23);
          ((a.c.n)localObject18).a(localObject27, localObject23);
          ((a.c.n)localObject21).a(localObject23, localObject27);
          ((a.c.n)localObject19).a(localObject27, ((a.c.n)localObject16).getInt(localObject23));
        }
        ((a.c.m)localObject22).f();
      } while (i8 == 0);
    } while (bool);
    localObject22 = ((q)localObject8).w();
    label3291:
    do
    {
      if (!((a.c.m)localObject22).e()) {
        break;
      }
      localObject23 = ((a.c.m)localObject22).a();
      localObject25 = (e)((a.c.x)localObject14).get(((a.c.d)localObject23).e());
      localObject26 = (e)((a.c.x)localObject14).get(((a.c.d)localObject23).f());
      localObject27 = null;
      if (((ab)localObject9).h((a.c.d)localObject23))
      {
        localObject27 = paramo.a((e)localObject25, (e)localObject26);
        this.b.g((a.c.d)localObject27);
        this.b.a((a.c.d)localObject27, (a.c.d)((a.c.n)localObject21).get(((ab)localObject9).b((a.c.d)localObject23)));
        ((a.c.n)localObject18).a(localObject27, localObject23);
        ((a.c.n)localObject21).a(localObject23, localObject27);
        ((a.c.n)localObject19).a(localObject27, ((a.c.n)localObject16).getInt(localObject23));
      }
      ((a.c.m)localObject22).f();
    } while (i8 == 0);
    localObject22 = new a.c.ab();
    Object localObject23 = paramo.w();
    do
    {
      if (!((a.c.m)localObject23).e()) {
        break;
      }
      localObject25 = ((a.c.m)localObject23).a();
      if (!bool)
      {
        if (((a.c.n)localObject18).get(localObject25) == null)
        {
          ((a.c.ab)localObject22).add(localObject25);
          paramo.f((a.c.d)localObject25);
        }
        ((a.c.m)localObject23).f();
      }
    } while (i8 == 0);
    localObject23 = paramo.v();
    label3659:
    Object localObject31;
    label3823:
    do
    {
      do
      {
        if (!((a.c.w)localObject23).e()) {
          break;
        }
        localObject25 = ((a.c.w)localObject23).d();
        if (this.b.f((e)localObject25))
        {
          localObject26 = ((e)localObject25).n();
          do
          {
            if (!((a.c.m)localObject26).e()) {
              break label3823;
            }
            localObject27 = ((a.c.m)localObject26).a();
            if (i8 != 0) {
              break;
            }
            if (!this.b.h((a.c.d)localObject27))
            {
              if (bool) {
                continue;
              }
              if (!this.b.f(((a.c.d)localObject27).f()))
              {
                localObject28 = new a.c.ab();
                localObject29 = (a.c.d)((a.c.n)localObject13).get(((a.c.n)localObject18).get(localObject27));
                do
                {
                  for (;;)
                  {
                    if (!this.b.f(((a.c.d)localObject27).f()))
                    {
                      localObject30 = ((a.c.d)localObject27).f();
                      ((a.c.ab)localObject28).add(localObject27);
                      localObject31 = ((e)localObject30).n();
                      if (((a.c.m)localObject31).e())
                      {
                        localObject27 = ((a.c.m)localObject31).a();
                        do
                        {
                          if ((bool) || (i8 != 0)) {
                            break;
                          }
                        } while (bool);
                        if (i8 != 0) {
                          break;
                        }
                        if (((a.c.n)localObject13).get(((a.c.n)localObject18).get(localObject27)) != localObject29)
                        {
                          ((a.c.m)localObject31).f();
                          if (i8 == 0) {
                            break label3659;
                          }
                        }
                      }
                    }
                  }
                  ((a.c.ab)localObject28).add(localObject27);
                  this.b.a((a.c.d)localObject29, ((a.c.ab)localObject28).p());
                } while (bool);
                this.b.a((a.c.d)localObject29, (a.c.ab)localObject28, 0);
              }
            }
            ((a.c.m)localObject26).f();
          } while (i8 == 0);
        }
        ((a.c.w)localObject23).f();
      } while (bool);
    } while (i8 == 0);
    localObject23 = new c_((a.c.n)localObject19);
    Object localObject25 = paramo.v();
    do
    {
      if (!((a.c.w)localObject25).e()) {
        break;
      }
      localObject26 = ((a.c.w)localObject25).d();
      ((e)localObject26).b((Comparator)localObject23);
      ((a.c.w)localObject25).f();
      if (bool) {
        break label3975;
      }
      if (i8 != 0) {
        break label3971;
      }
    } while (i8 == 0);
    if (!bool) {
      if (!bool)
      {
        if (((ab)localObject9).c() != null) {
          this.b.f();
        }
      }
      else
      {
        localObject25 = ((ab)localObject9).c().a().a();
        this.b.a(this.b.c((a.c.d)((a.c.n)localObject21).get(localObject25)));
      }
    }
    label3971:
    if (this.c)
    {
      label3975:
      localObject25 = paramo.v();
      label4261:
      label4351:
      do
      {
        do
        {
          if (!((a.c.w)localObject25).e()) {
            break label4420;
          }
          localObject26 = ((a.c.w)localObject25).d();
          if (i8 != 0) {
            break label4493;
          }
          if (this.b.f((e)localObject26))
          {
            localObject27 = new a.c.ab(((e)localObject26).n());
            localObject28 = ((a.c.ab)localObject27).l();
            do
            {
              if (!((a.c.m)localObject28).e()) {
                break;
              }
              localObject29 = ((a.c.m)localObject28).a();
              a.d.w localw2;
              do
              {
                localObject30 = localx2.get(localObject26);
                localObject31 = null;
                localw2 = null;
                if (bool) {
                  break label4353;
                }
                if (i8 != 0) {
                  break label4351;
                }
                Object localObject32 = localx1.get(localObject26);
                do
                {
                  if (!this.b.e(((a.c.d)localObject29).f())) {
                    break label4261;
                  }
                  e locale2 = ((a.c.d)localObject29).f();
                  localObject30 = localx2.get(locale2);
                  if (i8 != 0) {
                    break;
                  }
                  if (!localj.j(localObject32, localObject30)) {
                    break label4261;
                  }
                  if (!bool) {}
                  a.c.d locald = localObject29 == locale2.i() ? locale2.k() : locale2.i();
                  localw2 = paramo.r(locald);
                  localObject29 = this.b.h(locale2);
                  if (!bool)
                  {
                    if (((a.c.d)localObject29).e() != localObject26) {
                      localObject29 = this.b.b((a.c.d)localObject29);
                    }
                    localObject31 = new a.d.w(localj.a(localObject30).e(), localj.b(localObject30).e());
                  }
                } while (i8 == 0);
              } while (bool);
              if (!bool) {
                if (localObject31 != null)
                {
                  paramo.c((a.c.d)localObject29, (a.d.w)localObject31);
                  paramo.d(this.b.b((a.c.d)localObject29), (a.d.w)localObject31);
                }
              }
              if (localw2 != null)
              {
                paramo.d((a.c.d)localObject29, localw2);
                paramo.c(this.b.b((a.c.d)localObject29), localw2);
              }
              ((a.c.m)localObject28).f();
            } while (i8 == 0);
          }
        } while (bool);
        ((a.c.w)localObject25).f();
      } while (i8 == 0);
    }
    label4353:
    localObject25 = paramo.v();
    label4420:
    do
    {
      do
      {
        if (!((a.c.w)localObject25).e()) {
          break;
        }
        localObject26 = ((a.c.w)localObject25).d();
        if (i8 != 0) {
          break label4493;
        }
        if (this.b.e((e)localObject26)) {
          this.b.h((e)localObject26);
        }
        ((a.c.w)localObject25).f();
      } while (i8 == 0);
      ((q)localObject8).a((a.c.x)localObject10);
      ((q)localObject8).a((a.c.x)localObject14);
      ((q)localObject8).a((a.c.n)localObject11);
      ((q)localObject8).a((a.c.n)localObject13);
      ((q)localObject8).a((a.c.n)localObject16);
      ((q)localObject8).a((a.c.n)localObject21);
      paramo.a(localx2);
      paramo.a(localx1);
    } while (bool);
    localObject25 = ((bb)localObject4).l();
    label4493:
    do
    {
      while (i8 == 0)
      {
        if (!((a.c.w)localObject25).e()) {
          break;
        }
        paramo.e(((a.c.w)localObject25).d());
        ((a.c.w)localObject25).f();
      }
    } while (bool);
    localObject25 = paramab.l();
    if (((a.c.m)localObject25).e()) {}
    do
    {
      paramo.g(((a.c.m)localObject25).a());
      if (bool) {
        break label4600;
      }
      ((a.c.m)localObject25).f();
      if (i8 != 0) {
        break label4596;
      }
      if (i8 == 0) {
        break;
      }
      paramo.a(localn);
      paramo.a((a.c.n)localObject19);
    } while (bool);
    paramo.a((a.c.n)localObject18);
    label4596:
    label4600:
    localObject25 = paramab.l();
    if (((a.c.m)localObject25).e())
    {
      paramo.f(((a.c.m)localObject25).a());
      ((a.c.m)localObject25).f();
    }
    for (;;)
    {
      if ((bool) || (i8 == 0))
      {
        if (i8 == 0) {
          break;
        }
        if (!bool) {
          ((ab)localObject9).i();
        }
      }
    }
  }
  
  public void b()
  {
    this.b.o();
    this.b.i();
  }
  
  public static void a(a.f.o paramo)
  {
    int i = ab.f;
    j localj = j.g();
    a.c.w localw = paramo.v();
    do
    {
      if (!localw.e()) {
        break;
      }
      e locale = localw.d();
      a(paramo, locale, localj);
      localw.f();
    } while (i == 0);
  }
  
  private static void a(a.f.o paramo, e parame, a.d.b.n paramn)
  {
    boolean bool = ab.g;
    int i = ab.f;
    HashMap localHashMap1 = new HashMap();
    HashMap localHashMap2 = new HashMap();
    HashMap localHashMap3 = new HashMap();
    HashMap localHashMap4 = new HashMap();
    HashSet localHashSet = new HashSet();
    ArrayList localArrayList = new ArrayList();
    Object localObject1 = parame.n();
    Object localObject2;
    Object localObject3;
    Object localObject4;
    do
    {
      do
      {
        if (!((a.c.m)localObject1).e()) {
          break;
        }
        localObject2 = ((a.c.m)localObject1).a();
        localObject3 = paramo.n((a.c.d)localObject2).h();
        localObject4 = a((a.d.w[])localObject3, paramn, localHashMap1, localHashMap2, localHashSet, localArrayList);
        if (i != 0) {
          break label207;
        }
        if (localObject4 != null) {
          localHashMap3.put(localObject4, localObject2);
        }
        ((a.c.m)localObject1).f();
      } while (i == 0);
    } while (bool);
    localObject1 = parame.m();
    label207:
    do
    {
      if (!((a.c.m)localObject1).e()) {
        break;
      }
      localObject2 = ((a.c.m)localObject1).a();
      localObject3 = paramo.n((a.c.d)localObject2).i().h();
      localObject4 = a((a.d.w[])localObject3, paramn, localHashMap1, localHashMap2, localHashSet, localArrayList);
      if (localObject4 != null) {
        localHashMap4.put(localObject4, localObject2);
      }
      ((a.c.m)localObject1).f();
    } while (i == 0);
    localObject1 = localArrayList.iterator();
    do
    {
      do
      {
        if (!((Iterator)localObject1).hasNext()) {
          return;
        }
        localObject2 = ((Iterator)localObject1).next();
        localObject3 = (ArrayList)localHashMap1.get(localObject2);
        localObject4 = (ArrayList)localHashMap2.get(localObject2);
        if (!bool) {
          if (localObject3 == null) {
            localObject3 = a;
          }
        }
        if (!bool) {
          if (localObject4 == null) {
            localObject4 = a;
          }
        }
        if (bool) {
          break;
        }
      } while (((ArrayList)localObject3).size() + ((ArrayList)localObject4).size() < 2);
      a.i.l.a((List)localObject3, new d_(paramn, null));
      a.i.l.a((List)localObject4, new d_(paramn, null));
      double d1 = 1.0D / parame.c();
      a((ArrayList)localObject3, paramn, -d1, localHashMap4, paramo, localHashMap3);
      a((ArrayList)localObject4, paramn, d1, localHashMap4, paramo, localHashMap3);
    } while (i == 0);
  }
  
  private static void a(ArrayList paramArrayList, a.d.b.n paramn, double paramDouble, Map paramMap1, a.f.o paramo, Map paramMap2)
  {
    boolean bool = ab.g;
    int k = ab.f;
    int i = 0;
    do
    {
      if (i >= paramArrayList.size()) {
        break;
      }
      Object localObject = paramArrayList.get(i);
      a.d.z localz = new a.d.z(paramn.a(paramn.c(localObject)).e(), paramn.b(paramn.c(localObject)).e(), paramn.a(paramn.d(localObject)).e(), paramn.b(paramn.d(localObject)).e());
      localz = a.d.z.c(localz);
      localz.b((i + 1) * paramDouble);
      a.c.d locald;
      a.d.w localw1;
      if (!bool) {
        if (paramMap1.get(localObject) != null)
        {
          locald = (a.c.d)paramMap1.get(localObject);
          localw1 = paramo.s(locald);
          paramo.d(locald, a.d.z.a(localw1, localz));
          int j = paramo.e(locald).a() - 1;
          a.d.w localw3 = paramo.e(locald).a(j);
          localw3 = a.d.z.a(localw3, localz);
          paramo.e(locald).a(j, localw3.a(), localw3.b());
        }
      }
      if ((bool) || (paramMap2.get(localObject) != null))
      {
        locald = (a.c.d)paramMap2.get(localObject);
        localw1 = paramo.r(locald);
        paramo.c(locald, a.d.z.a(localw1, localz));
        a.d.w localw2 = paramo.e(locald).a(0);
        localw2 = a.d.z.a(localw2, localz);
        paramo.e(locald).a(0, localw2.a(), localw2.b());
      }
      i++;
    } while (k == 0);
  }
  
  private static Object a(a.d.w[] paramArrayOfw, a.d.b.n paramn, Map paramMap1, Map paramMap2, Set paramSet, ArrayList paramArrayList)
  {
    boolean bool2 = ab.g;
    int i = ab.f;
    if (!bool2) {
      if (paramArrayOfw.length == 2) {
        return null;
      }
    }
    Object localObject1 = a(paramArrayOfw[0], paramn);
    Object localObject2 = a(paramArrayOfw[1], paramn);
    Object localObject3 = paramn.e(localObject1, localObject2);
    boolean bool1 = false;
    if (!bool2) {
      if (paramArrayOfw.length > 2)
      {
        localObject4 = a(paramArrayOfw[2], paramn);
        bool1 = paramn.b(localObject1, localObject2, localObject4);
      }
    }
    Object localObject4 = bool1 ? (ArrayList)paramMap1.get(localObject1) : (ArrayList)paramMap2.get(localObject1);
    if (!bool2) {
      if (localObject4 == null)
      {
        localObject4 = new ArrayList();
        if (!bool2)
        {
          ((ArrayList)localObject4).add(localObject3);
          if (bool1)
          {
            paramMap1.put(localObject1, localObject4);
            if (bool2) {
              break label205;
            }
            if (i == 0) {
              break label191;
            }
          }
        }
        paramMap2.put(localObject1, localObject4);
        label191:
        if (bool2) {
          break label270;
        }
        label205:
        if (!paramSet.add(localObject1)) {
          break label268;
        }
        if (bool2) {
          break label270;
        }
        paramArrayList.add(localObject1);
        if (i == 0) {
          break label268;
        }
      }
    }
    Object localObject5 = ((ArrayList)localObject4).get(0);
    if (!bool2) {
      if (paramn.e(paramn.d(localObject5), localObject1, localObject2)) {
        ((ArrayList)localObject4).add(localObject3);
      }
    }
    label268:
    label270:
    return localObject3;
  }
  
  private static Object a(a.d.w paramw, a.d.b.n paramn)
  {
    return a(paramw.a(), paramw.b(), paramn);
  }
  
  private static Object a(double paramDouble1, double paramDouble2, a.d.b.n paramn)
  {
    double d1 = (int)Math.floor(100.0D * paramDouble1 + 0.5D) / 100.0D;
    double d2 = (int)Math.floor(100.0D * paramDouble2 + 0.5D) / 100.0D;
    a.d.b.d locald = (a.d.b.d)paramn.a(d1, d2);
    locald.j();
    return locald;
  }
  
  protected void d()
  {
    boolean bool = ab.g;
    int m = ab.f;
    int i = 0;
    int j = 0;
    int k = 0;
    a.c.w localw = this.b.a().v();
    do
    {
      if (!localw.e()) {
        break;
      }
      e locale = localw.d();
      if ((!bool) && (m != 0)) {
        return;
      }
      if (!bool) {
        if (this.b.f(locale)) {
          i++;
        }
      }
      if (!bool) {
        if (this.b.e(locale)) {
          j++;
        }
      }
      if (!bool)
      {
        if (this.b.b(locale)) {
          k++;
        }
        localw.f();
      }
    } while (m == 0);
    a.i.n.a("Nodes: " + this.b.a().k());
    a.i.n.a("  Vertices: " + i);
    a.i.n.a("  Bends: " + j);
    if (!bool) {
      a.i.n.a("  Crossings: " + k);
    }
  }
  
  static class c_
    implements Comparator
  {
    private a.c.n a;
    
    c_(a.c.n paramn)
    {
      this.a = paramn;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      return a.i.l.a(this.a.getInt(paramObject1), this.a.getInt(paramObject2));
    }
  }
  
  private static class d_
    implements Comparator, l.j_
  {
    private final a.d.b.n a;
    
    private d_(a.d.b.n paramn)
    {
      this.a = paramn;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      return this.a.f(paramObject2).f(this.a.f(paramObject1));
    }
    
    d_(a.d.b.n paramn, h.0 param0)
    {
      this(paramn);
    }
  }
  
  private static class b_
  {
    private final Object a;
    
    private b_(Object paramObject)
    {
      this.a = paramObject;
    }
    
    public static b_ a(Object paramObject)
    {
      return new b_(paramObject);
    }
    
    public boolean equals(Object paramObject)
    {
      boolean bool = ab.g;
      if (!bool) {
        if (this == paramObject) {
          return true;
        }
      }
      if (paramObject != null)
      {
        if (bool) {
          break label37;
        }
        if (getClass() == paramObject.getClass()) {}
      }
      else
      {
        return false;
      }
      label37:
      b_ localb_ = (b_)paramObject;
      return this.a == localb_.a;
    }
    
    public int hashCode()
    {
      return this.a.hashCode();
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.j.h

 * JD-Core Version:    0.7.0.1

 */